<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="katex.min.css"/>
    <script defer src="katex.min.js"></script>
    <script defer src="auto-render.min.js"></script>
    <script>
        function addBody(a){
            document.getElementById("aaa").innerHTML=a;
            render();
        }

        function render(){
            renderMathInElement(document.body);
        }

    </script>
</head>

<body id="aaa">
</body>
</html>